package com.yyds.blackmagic.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Transient;

import java.util.List;

/**
 * @Author ccc
 * @Date 2021/12/17
 * @Descripton
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AdminRole {
    private Integer id;
    private String name;
    private String nameZh;
    private boolean enabled;

    @Transient
    private List<AdminPermission> perms;

    @Transient
    private List<AdminMenu> menus;
}
